/*
 * @Author: wuqingchun
 * @Date: 2024-09-23 19:49:58
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-09-25 17:44:37
 */
#ifndef __CHAT_SERVER_H__
#define __CHAT_SERVER_H__

#include <thread>

#include "chat_config.h"
#include "chat_session.h"
#include "chat_net.h"

class CChatServer
{
public:
    CChatServer();
    ~CChatServer();
    int32_t Start();
private:
    void __ThreadTest();
private:
    CChatNet           m_objNet;
    CChatSession       m_objSession;

    std::thread m_objThread;
};

#endif //__CHAT_SERVER_H__